﻿namespace NetCoreClient
{
    class Program
    {
        static void Main(string[] args)
        {
            System.Console.WriteLine("TestConsolePipeClient started.\n");

            var pipeClientHelper = new PipeClientHelper();
            pipeClientHelper.StartTest("\\\\.\\pipe\\NetCoreServerSamples");

            System.Console.WriteLine("Press any key to stop...");
            System.Console.ReadKey();
            System.Console.WriteLine();

            pipeClientHelper.StopTest();

            System.Console.WriteLine("Press any key to exit...");
            System.Console.ReadKey();
            System.Console.WriteLine();
        }
    }
}
